package com.mnt.gui.base.buildfactory.cellhandle;

import javafx.event.Event;

/**
 * change control execute event interface
 * @author Mar 27, 2014 mnt.cico
 *
 * @param <E> event type 
 * @param <R> row value
 * @param <V> column value
 */
public abstract class EventExecutorHandle<E extends Event, R, V>
{

	/**
	 * event execute function
	 * Mar 27, 2014 mnt.cico
	 */
	public abstract void execute(E event, R rowValue, V value) throws Exception;
	
	/**
	 * execute failed execute this function, you need 
	 * Mar 27, 2014 mnt.cico
	 */
	public void onFailed(Exception e) {
		e.printStackTrace();
	}
}
